<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/includes/tags.jsp" %>
<div class="center_text">

    <h2><s:text name="article.latest.title"/></h2>
    <s:iterator value="articleList" var="n">
        <div class="icon_img_tab">
            <img src="/img/article.png" class="img_left" alt="${name}" height="48" width="48" border="0">
            <s:url var="artLink" action="view" namespace="/article">
                <s:param name="article.id" value="id"/>
            </s:url>
            <b><s:property value="name"/></b><br/>
            <s:property value="description"/>&nbsp;<a href="${artLink}"
                                                      title='${name} - <s:text name="ui.more"/>'><s:text
                name="ui.more"/></a>
        </div>
    </s:iterator>

    <s:if test="pages.size() > 1">
        <div style="text-align:center;margin-top:10px;">
            <s:iterator value="pages" var="pa">
                <s:url var="p">
                    <s:param name="page.start" value="start"/>
                    <s:param name="page.limit" value="limit"/>
                    <s:param name="page.field" value="field"/>
                    <s:param name="page.order" value="order"/>
                </s:url>
                <s:if test="%{page.start == #pa.start}">
                    <s:property value="name"/>
                </s:if>
                <s:else>
                    <a href="${p}"><s:property value="name"/></a>&nbsp;
                </s:else>

            </s:iterator>
        </div>
    </s:if>

</div>